package br.com.Model;

import java.awt.Container;
import javax.swing.*;

public class FolhaDePagamento {
	private double salario;
	private double imposto;
	private double inss;
	private double total;
	
	public double getSalario(){
		return salario;
	}
	public void setSalario(double salario){
		this.salario = salario;
	}
	public double getImposto(){
		return imposto;
	}
	public void setImposto(double imposto){
		this.imposto = imposto;
	}
	public double getInss(){
		return inss;
	}
	public void setInss(double inss){
		this.inss = inss;
	}
	public double getTotal(){
		return total;
	}
	public void setTotal(){
		this.total = total;
	}
	public double imposto (double salario){
		 this.imposto = (salario*13)/100;
		 return imposto;
	}
	public double inss (double salario){
		this.inss = (salario*6)/100;
		return inss;
	}
	public double totalReceber (double salario){
		
		return (salario - (this.imposto + this.inss));
	}
}
